package com.jaws.zuul.controller;

import io.swagger.annotations.ApiParam;
import okhttp3.Response;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.lang.reflect.Method;

/**
 * @author liangqm
 * @date 2018/3/12 10:20
 * @since v1.0.0
 */
@RestController
@RequestMapping("/api/account")
public class AccountApiController {


	//    @GetMapping(value = "/combos")
	@RequestMapping(value = "account",method = {RequestMethod.POST,RequestMethod.GET})
	public Response listAccount(
			@ApiParam(value = "当前页", required = true) @RequestParam Integer currPage,
			@ApiParam(value = "每页显示多少条数据", required = true) @RequestParam Integer pageSize) {

		System.out.println("currPage = "+currPage + " pageSize = " + pageSize);

		return null;
	}
}